#include <math.h>
#include <stdio.h>

void main() {
  FILE * arq = NULL;
  int num, soma = 0, i;
	
  if((arq = fopen("arq_601_1.txt","r")) != NULL) {
	for(i = 0; i < 5; i++) {
	  fscanf(arq, "%d", &num); 
	  soma = soma + num;
	}
	printf("%d\n", soma); 
	fclose(arq);			
  }
}
